package com.zdp.mybatisplus.service.slave.impl;

import com.zdp.mybatisplus.entity.Member;
import com.zdp.mybatisplus.mapper.slave.MemberMapper;
import com.zdp.mybatisplus.service.slave.MemberService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author sesshomaru
 * @date 2019/12/4 14:34
 */
@Service
public class MemberServiceImpl implements MemberService {

    @Autowired
    private MemberMapper memberMapper;

    @Override
    public Member selectByPrimaryKey(Long id) {
        return memberMapper.selectByPrimaryKey(id);
    }
}
